<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            font-size: 30px;
            color: skyblue;
        }
    </style>
</head>
<body>
    <p>
        <a></a>
    </p>
    <script src="../js/getdelete.js"></script>
    <script>
        var pstr=document.querySelector('p')
        if(getCookie("allow")){
            let str=getCookie("user")
            pstr.innerHTML=str
        }else{
            const astr=document.createElement('a')
            astr.href='sign.html'
            astr.innerHTML="未注册请登录"
            pstr.appendChild(astr)
        }
    </script>
</body>
</html>